python code for all possible combinations Download